On Friday, November 12, 2021 8:32:17 AM IST Rik Kabel via ntg-context wrote:
> Search for defineruby on the mailing list archives.
>
> --
> Rik
Dear Rik,
First of all, thank you for the quick response! Wow! With the very first search
result itself, I was able to achieve what I want
is to place a smaller piece of text above another larger
piece of text so that the text above is centered w.r.t the text below.
Please advise.
Thanks,
kauśika
Search for defineruby on the mailing list archives.
--
Rik
? Thank you in advance.
you can use some old, probaly never really used, mechanism ...
\defineruby[auto] [align=auto,color=darkred]
\defineruby[left] [align=flushleft,color=darkred]
\defineruby[right] [align=flushright,color=darkred]
\defineruby[spread][stretch=yes]
\setupinterlinespace[22pt
to inject a \setupalign[r2l],
but all my tries only gave this one as a correct result:
\define[2]\InterlinearText
{\setupalign[r2l]\definedfont[file:arial*arabic at 16 pt]
\ruby{{\setupalign[r2l]#1}}{\setupalign[l2r]\definedfont[name:arial at
10pt]#2}}
\defineruby
[interlineartext]
[style
;قال","sagte (Es)"
"رسول","Gesandte (der)"
"الله","Gottes"
\stopbuffer
\define[2]\InterlinearText
{\ruby{#1}{#2} }
% \defineruby
% [interlineartext]
% [style=]
%
% \define[2]\InterlinearText
% {\ruby[interlineartext]
t
\definedfont[file:arial*arabic at 16 pt]
\processdatabasebuffer[interlineartext][sample]
\stoptext
Probably something with your font/alignment switching.
\usemodule [database]
\startbuffer[sample]
"قال","sagte (Es)"
"رسول","Gesandte (der)"
"الله",
Floris van Manen schrieb am 03.12.18 um 14:59:
where can i find the description and features of the \ruby and \defineruby
commands?
For a list with all keys/values look into setup-en.pdf.
Wolfgang
___
If your
where can i find the description and features of the \ruby and \defineruby
commands?
.F
> On 3 Dec 2018, at 13:36, Wolfgang Schuster
> wrote:
>
>
>
> Huseyin Özoguz schrieb am 03.12.18 um 12:51:
>> Thanks and I may have questions to the actual question about int
um 13:24 schrieb Hans Hagen:
On 12/3/2018 12:51 PM, Huseyin Özoguz wrote:
Thank you, I will investigate it, seems to be a pretty powerful
mechanism. First it failed to compile (with Context version from
2015, did not know \defineruby), but with the most recent beta it
does well.
So a small btw
On 12/3/2018 12:51 PM, Huseyin Özoguz wrote:
Thank you, I will investigate it, seems to be a pretty powerful
mechanism. First it failed to compile (with Context version from 2015,
did not know \defineruby), but with the most recent beta it does well.
So a small btw-question, I compile out
Thank you, I will investigate it, seems to be a pretty powerful
mechanism. First it failed to compile (with Context version from 2015,
did not know \defineruby), but with the most recent beta it does well.
So a small btw-question, I compile out of notepad++ (windows 7, 64 bit)
with this code
. How can I achieve
a nice way with this simple readable macros?
Processing this might give you some ideas:
\usemodule[art-01]\setupbodyfont[dejavu,12pt]
\defineruby[auto] [align=auto,color=darkred]
\defineruby[left] [align=flushleft,color=darkred]
\defineruby[right] [align=flushright,color
Thanks for the example, it works!
On 19/08/18 14:29, Wolfgang Schuster wrote:
> \defineruby[song][style=\ss\it,align=flushleft]
>
> \setupinterlinespace[line=5ex]
>
> \starttext
>
> \ruby[song]{Praise}{G} God, \ruby[song]{from}{D} \ruby[song]{Whom}{Em}
> \ruby[song]{al
\defineruby[song][style=\ss\it,align=flushleft]
\setupinterlinespace[line=5ex]
\starttext
\ruby[song]{Praise}{G} God, \ruby[song]{from}{D} \ruby[song]{Whom}{Em}
\ruby[song]{all}{Bm} \ruby[song]{bless}{Em}\ruby[song]{ings}{D}
\ruby[song]{flow}{G};
\start
\setupruby[style=\ss\it,align
Am 18.02.2015 um 20:04 schrieb Pablo Rodriguez oi...@gmx.es:
Hi Wolfgang,
I have just discovered your t-ruby module.
Many thanks for this module, which is extremely useful for interlinear
translations.
Here you have the sample:
\usemodule[ruby]
\defineruby[trans][textstyle
.
Here you have the sample:
\usemodule[ruby]
\defineruby[trans][textstyle=\it]
\starttext
\startTEXpage[offset=1em]
\trans{The}{Der} \trans{sentence}{Satz}
\trans{is}{ist} \trans{right}{richtig}.
\blank[big]
\trans{Der}{The} \trans{Satz}{sentence}
\trans{ist}{is} \trans{richtig
Hi Wolfgang,
I have just discovered your t-ruby module.
Many thanks for this module, which is extremely useful for interlinear
translations.
Here you have the sample:
\usemodule[ruby]
\defineruby[trans][textstyle=\it]
\starttext
\startTEXpage[offset=1em]
\trans{The}{Der} \trans{sentence}{Satz
{tabular}{@{}c}{\textDidot{\footnotesize#1}}\\{\scriptsize\em#2}\end{tabular}}
\usemodule[ruby]
\defineruby[dos]
\starttext
Left \dos{middle}{middle text} right
\blank
Left \dos[alternative=bottom]{middle}{middle text} right
\blank
Left \dos[textstyle={\setcharactercasing[WORD]\tfxx}]{middle
18 matches
Mail list logo